package com.jackiechancinema.ssm.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class ContractExcelDto {
    @ExcelProperty("合同名称")
    private String cname;
    @ExcelProperty("合同甲方")
    private String partya;
    @ExcelProperty("合同乙方")
    private String partyb;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ExcelProperty("签订日期")
    private Date date;
}
